From e08da109cdf2aeccf43dd57c2c543efd4fba0631 Mon Sep 17 00:00:00 2001 From: "emellor@leeni.uk.xensource.com" Date: Thu, 20 Oct 2005 14:06:07 +0100 Subject: [PATCH] Set antispoof default to yes, as this seems safer, and is the current behaviour in VifCtl. Signed-off-by: Ewan Mellor --- tools/examples/network-bridge | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/examples/network-bridge b/tools/examples/network-bridge index c6fb1c1f47..360a6513c6 100644 --- a/tools/examples/network-bridge +++ b/tools/examples/network-bridge @@ -25,7 +25,7 @@ # higher value than its default of 1. # bridge The bridge to use (default xenbr${vifnum}). # netdev The interface to add to the bridge (default eth${vifnum}). -# antispoof Whether to use iptables to prevent spoofing (default no). +# antispoof Whether to use iptables to prevent spoofing (default yes). # # start: # Creates the bridge and enslaves netdev to it. @@ -66,7 +66,7 @@ for arg ; do export "${arg}" ; done vifnum=${vifnum:-0} bridge=${bridge:-xenbr${vifnum}} netdev=${netdev:-eth${vifnum}} -antispoof=${antispoof:-no} +antispoof=${antispoof:-yes} pdev="p${netdev}" vdev="veth${vifnum}" -- 2.30.2